CONFIG      += plugin debug_and_release
TARGET      = $$qtLibraryTarget(trafficwidplugin)
TEMPLATE    = lib

HEADERS     = TrafficWidplugin.h \
    TrafficWid.h \
    controller.h
SOURCES     = TrafficWidplugin.cpp \
    TrafficWid.cpp
RESOURCES   = icons.qrc
LIBS        += -L. 

greaterThan(QT_MAJOR_VERSION, 4) {
    QT += designer
} else {
    CONFIG += designer
}

target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS    += target

include(TrafficWid.pri)

FORMS += \
    TrafficWid.ui


#QMAKE_CFLAGS_DEBUG -= -O2
#QMAKE_CXXFLAGS_DEBUG -= -O2

#QMAKE_CFLAGS_RELEASE -= -O2
#QMAKE_CXXFLAGS_RELEASE -= -O2
